package com.minotauro.i18n.util;

import java.lang.reflect.Method;

public class Foo {

	public static void main(String[] args) throws Exception {
		// FooBean fb = new FooBean();
		// fb.setDesc("123");

		Class clazz = Class.forName("com.minotauro.i18n.demo.FooBean");

		Object obj = clazz.newInstance();

		Method m = clazz.getMethod("setDesc", new Class[] { String.class });

		m.invoke(obj, new Object[] { "123" });
	}
}
